package com.lzy.mapper;

import com.lzy.pojo.reservation;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface reservationMapper {
    void insert(reservation reservation);
    reservation select(String cus_name);
    int selectType(String cus_name);
    String selectKey(String cus_name);
    List<String> selectTypes(String cus_name);
    List<String> selectKeys(String cus_name);
    void delete(@Param("cus_name") String cus_name, @Param("key") String key);
    reservation selectByNameAndNumber(@Param("cus_name") String cus_name, @Param("key") String key);
}
